C1.Silverlight Namespace > C1DelegateCommand Class > C1DelegateCommand Constructor : C1DelegateCommand Constructor(Action<Object>,Predicate<Object>) |
'Declaration
Public Function New( _ ByVal execute As System.Action(Of Object), _ ByVal canExecute As System.Predicate(Of Object) _ )
'Usage
Dim execute As System.Action(Of Object) Dim canExecute As System.Predicate(Of Object) Dim instance As New C1DelegateCommand(execute, canExecute)
public C1DelegateCommand( System.Action<object> execute, System.Predicate<object> canExecute )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2